<?php
$url = $_SERVER['REQUEST_URI'];
# strip off the /r/
$url = substr($url, 3);
if (!$url) {
  $url = 'http://www.google.com/reader/view/';
 }
?>

<html><head><title>Redirect to <?php echo $url ?></title>
<!-- META HTTP-EQUIV="Refresh" CONTENT="10;URL=<?php echo $url ?>" -- >
</head><body>
<h1 align=center><u>Redirect to <?php echo $url ?></u></h1>
 I shall redirect you to <?php echo $url ?>

<script type="text/javascript">
var url = "<?php echo $url ?>";
if (window.location.replace) {
  window.location.replace(url);
} else {
  window.location.href = url;
}
</script>
</body></html>
